package dongze.com.ckdj.dagger.module;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import dongze.com.ckdj.dagger.PerVehicle;
import dongze.com.ckdj.data.entity.response.NamePlate;
import dongze.com.ckdj.data.entity.response.VehicleInformationDetail;

/**
 * Created by fanqwz on 2017/8/11.
 */

@Module
public class VehicleModule {
    VehicleInformationDetail vehicleInfo;

    public VehicleModule(VehicleInformationDetail vehicleInfo) {
        this.vehicleInfo = vehicleInfo;
    }

    @Provides
    @PerVehicle
    VehicleInformationDetail getVehicleInfo() {
        return vehicleInfo;
    }

}
